package com.gmadmin.entity.vo;


import com.fasterxml.jackson.annotation.JsonInclude;
import com.gmadmin.common.BaseEntity;
import com.gmadmin.enums.MessageLevelEnum;
import io.swagger.annotations.ApiModelProperty;


/**
 * @author zhangliang
 * @version 1.0
 * @date 2022/8/3 1:23
 */
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class MessageNoticeVo extends BaseEntity {
    /**
     * 主键ID
     */
    @ApiModelProperty("id")
    private Long id;

    /**
     * 消息ID
     */
    @ApiModelProperty("消息id")
    private Long msgInfoId;

    /**
     * 已读状态 0-未读 1-已读
     */
    @ApiModelProperty("已读状态")
    private Long state;

    /**
     * 接收者ID
     */
    @ApiModelProperty("接收者ID")
    private Long receiveId;

    /**
     * 消息类型 1-系统消息 2 消息  100-其他
     */
    @ApiModelProperty("消息类型 1-系统消息 2 消息  100-其他")
    private Long type;

    /**
     * 消息级别枚举
     */
    @ApiModelProperty("消息级别枚举")
    private MessageLevelEnum level;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getMsgInfoId() {
        return msgInfoId;
    }

    public void setMsgInfoId(Long msgInfoId) {
        this.msgInfoId = msgInfoId;
    }

    public Long getState() {
        return state;
    }

    public void setState(Long state) {
        this.state = state;
    }

    public Long getReceiveId() {
        return receiveId;
    }

    public void setReceiveId(Long receiveId) {
        this.receiveId = receiveId;
    }

    public Long getType() {
        return type;
    }

    public void setType(Long type) {
        this.type = type;
    }

    public MessageLevelEnum getLevel() {
        return level;
    }

    public void setLevel(MessageLevelEnum level) {
        this.level = level;
    }
}
